#ifndef _IWEBBOT
#define _IWEBBOT

#include "dispatch_struct.hpp"

class iwebbot
{
public:
	iwebbot(const char* dispatch_struct_filename);
	virtual void dispatch(void) =0;

	dispatch_struct get_dispatch_struct() const;
	bool get_next_dispatch_struct();

	static bool is_first_change;

private:
	dispatch_struct _dispatch_struct;
};

#endif